package com.example.sqlite;

public class DBUtil {
    public static final String DB_NAME="student.db";
    public static final String TABLE_NAME="studentScore";
    //表中各字段
    public static final String STU_ID="_id";
    public static final String STU_NAME="name";
    public static final String STU_SCORE="score";
    //创建表语句
    public static final String CREATE_TABLE="create table "+TABLE_NAME+
            "("+STU_ID+" integer primary key autoincrement,"+
            STU_NAME+" text not null,"
            +STU_SCORE+" integer );";
    //URI参数，实现ContentProvider使用
    public static final String AUTHORITY="com.example.sqlite";
    public static final String PATH_SINGLE="studentScore/#";
    public static final String PATH_MULTIPLE="studentScore";


}
